function addStatus(tableId){
	var table = document.getElementById(tableId);
	var newTr = table.insertRow(table.rows.length);
	var newTd0 = newTr.insertCell(0);
	var newTd1 = newTr.insertCell(1);
	newTd0.innerHTML = '<label>'+(table.rows.length-1)+'</label>';
	newTd1.innerHTML = '<input type="text" name="pstatus" value=""/>'; 
}
